
<style media="screen">
.masthead.segment {
  min-height: auto;
  padding: 1em 0em;
}
</style>
<div class="ui segment">
  <div class="ui main text container">
    <h2>产品详情</h2>
    <div class="ui divider">

    </div>
    <div class="ui two column grid">
      <div class="row">
        <div class="column">代表图片（封面）</div>
        <div class="column"><%=image_tag Picture.find(@product.cover).image.url %></div>
      </div>
    <div class="row">
      <div class="column">品牌</div>
      <div class="column"><%=@product.brand %></div>
    </div>
    <div class="row">
      <div class="column">制造商</div>
      <div class="column"><%=@product.car.manufacturer %></div>
    </div>
    <div class="row">
      <div class="column">实测油耗(L/100km)</div>
      <div class="column"><%=@product.car.fuel_consumption_tested %></div>
    </div>
    <div class="row">
      <div class="column">工信部综合油耗(L/100km)</div>
      <div class="column"><%=@product.car.fuel_consumption_official %></div>
    </div>
    <div class="row">
      <div class="column">最高车速(km/h)</div>
      <div class="column"><%=@product.car.highest_speed %></div>
    </div>
    <div class="row">
      <div class="column">级别</div>
      <div class="column"><%=@product.car.level %></div>
    </div>
    <div class="row">
      <div class="column">变速箱</div>
      <div class="column"><%=@product.car.gearbox %></div>
    </div>
    <div class="row">
      <div class="column">长*高*宽</div>
      <div class="column"><%=@product.car.size %></div>
    </div>
    <div class="row">
      <div class="column">车身结构</div>
      <div class="column"><%=@product.car.structure %></div>
    </div>
    <div class="row">
      <div class="column">整车质保</div>
      <div class="column"><%=@product.car.assurance %></div>
    </div>
    <div class="row">
      <div class="column">新手指导价格（万元）</div>
      <div class="column"><%=@product.car.price_about_general_lowest %>～
      <%=@product.car.price_about_general_highest %></div>
    </div>
    <div class="row">
      <div class="column">滴滴车主俱乐部指导价格（万元）</div>
      <div class="column"><%=@product.car.price_about_didi_lowest %>～
      <%=@product.car.price_about_didi_highest %></div>
    </div>
    <div class="ui text">

      <h4>再次分享并有人购买可以得佣金，详情看<a href='/rule'>规则</a>。</h4>
      <div class="ui divider">

      </div>
    </div>

      <div class="ui two buttons">
        <%=link_to "分享", url(:share, :index, :id=> get_current_node, :product_id => @product.id, :timestamp => Time.now.to_i  ), :class => "ui basic green button" %>
        <a href="/order/intend_to_buy/<%= @product.id %>" class="ui basic red button">意向购买</a>
      </div>
  </div>
<br/><br/><br/>
</div></div>
